package com.gpy.hospital.cms.dao;

import com.gpy.hospital.cms.pojo.Doctor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface DoctorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Doctor record);

    Doctor selectByPrimaryKey(Integer id);

    List<Doctor> selectAll();

    int updateByPrimaryKey(Doctor record);

    List<Doctor> getRandom();

    List<Doctor> getByDoctorName(String doctorName);

    List<Doctor> getByKeShiId(Integer keshiId);

    List<Doctor> getAllByStatus();

    List<Doctor> getAllByKeyWord(String searchWords);
}